package com.bilibili.interface1;
//接口案例
public class Text {
    public static void main(String[] args) {
        //准备学生数据
        Student[] students = new Student[10];
        students[0]=new Student("一",'男',100);
        students[1]=new Student("二",'女',99);
        students[2]=new Student("三",'男',98);
        students[3]=new Student("四",'女',97);
        students[4]=new Student("五",'男',96);
        students[5]=new Student("六",'女',95);
        students[6]=new Student("七",'女',94);
        students[7]=new Student("八",'男',93);
        students[8]=new Student("九",'女',92);
        students[9]=new Student("十",'女',91);
        ClassDatalnter cdi = new ClassDataInterlmpl2(students);
        cdi.printAllStudentInfos();
        cdi.printAverageScore();
    }
}
